<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>{{config("app.host")}}</title>
	<!-- Favicon and touch icons -->
	<link rel="shortcut icon" href="" type="image/x-icon" />
	<!-- Css files -->
	<link href="/assets/css/bootstrap.min.css" rel="stylesheet">
	{{--<link href="/assets/css/jquery.mmenu.css" rel="stylesheet">--}}
	<link href="/assets/css/font-awesome.min.css" rel="stylesheet">
	{{--<link href="/assets/css/climacons-font.css" rel="stylesheet">--}}
	{{--<link href="/assets/plugins/xcharts/css/xcharts.min.css" rel=" stylesheet">--}}
	{{--<link href="/assets/plugins/fullcalendar/css/fullcalendar.css" rel="stylesheet">--}}
	{{--<link href="/assets/plugins/morris/css/morris.css" rel="stylesheet">--}}
	{{--<link href="/assets/plugins/jquery-ui/css/jquery-ui-1.10.4.min.css" rel="stylesheet">--}}
	{{--<link href="/assets/plugins/jvectormap/css/jquery-jvectormap-1.2.2.css" rel="stylesheet">	    --}}
	<link href="/assets/css/style.min.css" rel="stylesheet">
	{{--<link href="/assets/css/add-ons.min.css" rel="stylesheet">--}}

	<style>
		.sidebar .sidebar-header {
			padding: 0px;
			height: 60px;
			text-align: center;
			position: relative;
			line-height: 60px;
			font-size: 20px;
			font-weight: bold;
		}
	</style>

</head>
</head>

<body>
	<div class="container-fluid content">
		<div class="row">
			<div id="content" class="col-sm-12 full">

				<div class="row">
					<div class="row" style="     width: 400px;
    margin: 0px auto;
    margin-top: 80px;">
						<div class="col-lg-12">
							@if (isset($errors) && count($errors) > 0)
								<div class="alert alert-danger alert-dismissible">
									<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
									<h4><i class="icon fa fa-ban"></i> 错误</h4>
									<ul>
										@foreach ($errors->all() as $error)
											<li>{{ $error }}</li>
										@endforeach
									</ul>
								</div>
							@endif
							@if (Session::has('messages'))
								<div class="alert alert-success alert-dismissible">
									<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
									<h4><i class="icon fa fa-check"></i> 成功!</h4>
									<ul>
										@foreach (Session::get('messages') as $error)
											<li>{{ $error }}</li>
										@endforeach
									</ul>
								</div>
							@endif
						</div>
					</div>
					<div class="login-box" style="margin-top: 0">

						<div class="header">
						登录
						</div>			
					
					
						<form class="form-horizontal login" action="{{ url('/login') }}" method="post">
						  {!! csrf_field() !!}
							<fieldset class="col-sm-12">
								<div class="form-group">
									<div class="controls row">
										<div class="input-group col-sm-12">	
											<input type="text" class="form-control" id="username" name='email' placeholder="E-mail"/>
											<span class="input-group-addon"><i class="fa fa-user"></i></span>
										</div>	
									</div>
								</div>
							
								<div class="form-group">
									<div class="controls row">
										<div class="input-group col-sm-12">	
											<input type="password" class="form-control"  name='password' id="password" placeholder="Password"/>
											<span class="input-group-addon"><i class="fa fa-key"></i></span>
										</div>	
									</div>
								</div>

									

								<div class="row">
							
									<button type="submit" class="btn btn-lg btn-primary col-xs-12">Login</button>
							
								</div>
								
							</fieldset>	

						</form>
					
					
					
						<div class="clearfix"></div>				
						
					</div>
				</div><!--/row-->
		
			</div>	
			
		</div><!--/row-->				
		
	</div><!--/container-->


</body>
</html>